package morenoapp.components.common.model.wrap;

import morenoapp.model.data.MorenoQuestionFace;
import morenoapp.util.I18N;

/**
 *
 * @author dmitry.mamonov
 */
public class QuestionValueWrapper extends ValueWrapper<MorenoQuestionFace>{
    public QuestionValueWrapper(MorenoQuestionFace value) {
        super(value);
    }
    @Override
    public String toString() {
        if (value==null){
            return I18N.get("not_selected");
        } else {
            return value.getContent();
        }
    }
}
